import request from '@/utils/request'

export function toGetFeedbackList(query) {
  return request({
    url: '/adminMajor/feedback/toGetList',
    method: 'post',
    params: query
  })
}

export function toGetFeedbackDetail(id) {
  return request({
    url: '/adminMajor/feedback/getFeedbackDetail/' + id,
    method: 'get'
  })
}

export function toComment(data) {
  return request({
    url: '/adminMajor/feedback/toComment',
    method: 'post',
    params: data
  })
}

